package top.gaui.nurse.repository;

import org.springframework.data.domain.Page;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import top.gaui.nurse.entity.Nurse;

import java.util.List;

/**
 * @author Fujie_Zeng
 * @version 1.0
 * @date 2020/4/7 19:22
 */
public interface NurseRepository extends JpaRepository<Nurse,Integer>, JpaSpecificationExecutor<Nurse> {
    Nurse findByNumAndPwd(Integer num,String pwd);
}
